﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc.Html;

namespace BasicCMS.Content.Parts
{
    public class TextBoxPart : ContentPart
    {
        public override IDictionary<string, object> GetData()
        {
            return new Dictionary<string, object>{ 
                {Name,Request[UniqueName]}
            };
        }

        public override System.Web.Mvc.MvcHtmlString Render()
        {
            return Html.Partial("~/Modules/Content/Parts/TextBox/TextBox.cshtml", this);
        }
    }
}